package org.jeecg.modules.lab.exam.exam.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.modules.lab.exam.entity.LabExam;
import org.jeecg.modules.lab.exam.entity.LabExamDepart;
import org.jeecg.modules.lab.exam.exam.vo.LabExamPage;
import org.springframework.stereotype.Repository;

/**
 * @Description: 考试信息主表
 * @Author: jeecg-boot
 * @Date:   2023-08-26
 * @Version: V1.0
 */
@Repository
public interface LabExamMapper extends BaseMapper<LabExam> {

    /**
     * 通过userId查询当前人员可以考试的考试
     *
     * @param userId 主表id
     * @return List<LabExamPage>
     */
    public List<LabExamPage> selectExamListByUserId(@Param("userId") String userId);

}
